home *** CD-ROM | disk | FTP | other *** search
/ .net (French) 1996 November / .net Magazine (FR) - Issue 01 - Nov 1996.iso / mac / Edition Web / HTMLedit173-ppc / HTML.edit 1.7.3 (ppc) / HTML.edit 1.7.3 (ppc).rsrc / TEXT_4396_Paths and Filenames.txt < prev    next >
Text File  |  1996-09-16  |  1KB  |  27 lines

  1.  
  2. Paths and Filenames
  3.  
  4. Paths
  5. There are two paths you need to consider when setting up a server and creating documents to populate it. These are both set under the Paths & Labels Preferences.
  6.  
  7. HTTP Server Folder 
  8. The HTTP server application (eg., WebStar, MacHTTP) is installed in a folder on your hard disk;  let's say it's named "www". If your hard drive were named "earth", then the path of all documents in the "www" folder (the server folder) would be
  9.  
  10.    earth:www
  11.  
  12. For example:
  13.  
  14.    earth:www:default.html
  15.    earth:www:images:home.GIF
  16.    earth:www:people:gbateson:gbateson.html
  17.  
  18. All documents you plan to distribute over HTTP must reside within the server folder or a folder nested within it.
  19.  
  20. HTTP File Path  
  21. This is the pathname from the root of your HTTP server folder to your document, ignoring any path information higher than the HTTP server folder. In essence, the HTTP server is the root folder of your server. This is the path you may see within a URL if the document is within a folder in the server folder, not directly in the server folder itself.
  22.  
  23. Filenames
  24. While you can include spaces and a lot of weird characters in Macintosh filenames, it's safer to stick with the letters A-Z, a-z, 0-9, and the underscore character, period and simple dash -- no spaces. Most other characters are either illegal or are interpreted in various ways by HTTP servers, such as the plus sign or question mark.
  25.  
  26. Back to Hosts File, on to Document Structure, or return to Design Issues.
  27.